package com.gsy.springbootshiro.service;

import com.gsy.springbootshiro.mapper.UserMapper;
import com.gsy.springbootshiro.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: springboot-shiro
 * @description:
 * @author: GSY
 * @create: 2020-03-18 16:12
 **/
@Service
public class UserServiceImp implements UserService{

    @Autowired
    UserMapper userMapper;
    @Override
    public User queryByName(String name) {
        return userMapper.queryByName(name);
    }
}
